package com.ali.framework.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: Smile
 * @Date: 2023/12/13/16:27
 * @Description:
 */
@FeignClient(value = "framework-payment-server")
public interface PaymentFeign {
    @GetMapping("/pay/test/{id}")
    public String test(@PathVariable("id") Long id);
}
